package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.hxci.atest.ExcelColumn;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 教师专利（著作权）授权情况
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_patent")
public class TeaPatent {
    @TableField(value = "id")
    private Long id;

    @TableField(value = "user_id")
    private Long userId;
    @TableField(exist=false)
    @ExcelColumn(value ="姓名",col = 2,width = 10*256)
    private String username;
    @TableField(exist=false)
    @ExcelColumn(value ="教研室",col = 2,width = 10*256)
    private String deptname;
    /**
     * 名称
     */
    @TableField(value = "patent_name")
    @ExcelColumn(value ="名称",col = 2,width = 10*256)
    private String patentName;

    /**
     * 授权号
     */
    @ExcelColumn(value ="授权号",col = 2,width = 10*256)
    @TableField(value = "auth_num")
    private String authNum;

    /**
     * 类别id
     */
    @TableField(value = "patent_kind_id")
    private Integer patentKindId;

    /**
     * 是否应用
     */
    @TableField(value = "apply")
    @ExcelColumn(value ="是否应用",col = 2,width = 10*256)
    private Integer apply;

    /**
     * 是否行业联合专利（著作权）
     */
    @TableField(value = "`union`")
    @ExcelColumn(value ="是否行业联合专利（著作权）",col = 2,width = 10*256)
    private Integer union;

    /**
     * 获批时间
     */
    @TableField(value = "patent_time")
    @ExcelColumn(value ="获批时间",col = 2,width = 10*256)
    private String patentTime;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;


    @TableField(exist=false)
    private String num;

    @TableField(exist=false)
    @ExcelColumn(value ="类别",col = 2,width = 10*256)
    private String kindPatentName;
}